package org.example.petitionplatformsystem.dao;

import org.example.petitionplatformsystem.dao.model.LeaderReply;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface LeaderReplyRepository extends JpaRepository<LeaderReply, Long>  {
    public LeaderReply findByMailboxId(Long mailboxId);

    public List<LeaderReply> findByUserId(Long UserId);
}
